You can just breathe a sigh of relief. This component is relatively simple. It is much simpler than the previous sections.
Logger interface
Logger in Tomcat must implement the org. Apache. Catalina. logger interface.
package
The UnitTest module provides components for unit testing, allowing developers to conduct self-tests.First, the important concept in UnitTest:test Case : The test Case object is the smallest test unit that tests the expected output for the specified
The default log message verbosity level for the systemlog.verbosity component. The level of detail determines the amount of information and debug messages that the MongoDB outputs. The verbosity level can be between 0 and 5:0 is the default log
EnvironmentMongoDB Shell version:3.2.6Win 7Set method User Rights settings
1. Enter the shell of MongoDB:mongo
2. Switch database:use admin
From the 3.0 version, the default local is only the library, no admin library, we need to
If you want to use this feature, you must first start the Windows feature: With the failed Request tracing feature, you can capture the corresponding XML-formatted log in the event of a problem, eliminating the need to reproduce the problem to
The information reporting mechanism in UVM is relatively simple, and the function is mainly divided into two parts:
First, the Information Report redundancy level of component is controlled by ID, and different behavior control is performed for each
Python + Selenium notes (4): unittest Test Suite and seleniumunittest
(1)Test SuiteTest Suite
A test suite is a set of multiple tests or test cases. It is a set of tests created for the functions and modules of the tested program, the test cases
(i) Test Suite test SuiteA test suite is a collection of multiple tests or test cases, a set of tests that are created for the corresponding functions and modules of the program under test, and the test cases within a suite of tests are executed
Failure request tracking can be configured at two levels:
-At the site level, you can enable or disable tracing and configure log file settings.
-At the application level, you can specify failure conditions when capturing trace events, and you can
One, what is unit test
Unit tests are tests that are used to test the correctness of a module, a function, or a class.
For example, for the function abs (), we can write the test cases as:
(1) Enter positive numbers, such as 1, 1.2, 0.99, and expect
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.